<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><%@page import="java.text.DecimalFormat"%>
<%@page
	language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script language="JavaScript">
function GetRequest() {
	   var url = parent.location.search; //获取url中"?"符后的字串
	   var theRequest = new Object();
	   if (url.indexOf("?") != -1) {
	      var str = url.substr(1);
	      strs = str.split("&");
	      for(var i = 0; i < strs.length; i ++) {
	         theRequest[strs[i].split("=")[0]]=unescape(strs[i].split("=")[1]);
	      }
	   }
	   return theRequest;
	}
function init(){
	var Request=GetRequest();
	var dBi=15;//天线增益
	var DP=41;//损耗值
	var P2=Request['bcgl'];//标称功率
	var dBd=dBi-2.15;
	var G = Math.pow(10,dBd/10.00);
	var P = Math.pow(10,(P2-DP)/10.00);
	var APd1=(P*G/(4*Math.PI*(10*10)))*100;
	var APd2=(P*G/(4*Math.PI*(30*30)))*100;
	var APd3=(P*G/(4*Math.PI*(50*50)))*100;
	document.getElementById("pd1").innerHTML="10m Pd"+APd1.toFixed(2)+"(μW/c㎡)";
	document.getElementById("pd2").innerHTML="10~20m Pd范围"+APd1.toFixed(2)+"~"+APd2.toFixed(2)+"(μW/c㎡)";
	document.getElementById("pd3").innerHTML="20~30m Pd范围"+APd2.toFixed(2)+"~"+APd3.toFixed(2)+"(μW/c㎡)";
}
</script>
<LINK href="images/yi_base.css" type=text/css rel=stylesheet>
<LINK href="images/yi_index.css" type=text/css rel=stylesheet>
</head>

<body onload="init()">
<div style="margin:0 auto; width:808px; margin-top:20px; border:3px solid #e2e9ea;">
<DIV id=map>
<H1 class=mapr style="MARGIN: 70px 0px 0px 315px;_margin-left:-70px;*+margin-left:-70px;">
<A href="#" id="pd3"></A></H1>
<H1 class=mapr style="MARGIN: 170px 0px 0px 315px;_margin-left:-70px;*+margin-left:-70px;">
<A href="#" id="pd2"></A></H1>
<H1 class=mapr style="MARGIN: 260px 0px 0px 315px;_margin-left:-70px;*+margin-left:-70px;">
<A href="#" id="pd1"></A></H1>
</DIV>
</div>
</body>
</html>